﻿namespace sp.otto.tests {
    class Mock {

        private string text;
        public Mock(Otto otto) {
            otto.OnText += this.ProcessMock;
        }

        public string Text {
            get { return text; }
        }

        public void ProcessMock(string text) {
            this.text = text;
        }
    }
}
